package com.ruoyi.ylyx.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息对象 ylyx_user
 * 
 * @author yuexl
 * @date 2021-02-05
 */
public class YlyxUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userPhone;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 用户身份证号 */
    @Excel(name = "用户身份证号")
    private String userIdcard;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String userPassword;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String userEmail;

    /** 用户身份证正面 */
    @Excel(name = "用户身份证正面")
    private String userCardimage;

    /** 用户身份证反面 */
    @Excel(name = "用户身份证反面")
    private String userBackimage;

    /** 出生日期 */
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date userBirth;

    /** 固定电话 */
    @Excel(name = "固定电话")
    private String userTel;

    /** 所在城市编码 */
    @Excel(name = "所在城市编码")
    private String userCitycode;

    /** 所在城市名称 */
    @Excel(name = "所在城市名称")
    private String userCityname;

    /** 所在省份编码 */
    @Excel(name = "所在省份编码")
    private String userProvincecode;

    /** 所在省份名称 */
    @Excel(name = "所在省份名称")
    private String userProvincename;

    /** 通讯地址 */
    @Excel(name = "通讯地址")
    private String userAddress;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String userPostcode;

    /** 安全级别（低，中，高） */
    @Excel(name = "安全级别", readConverterExp = "低=，中，高")
    private String userSecurity;

    /** 是否禁用（1是0否） */
    @Excel(name = "是否禁用", readConverterExp = "1=是0否")
    private String isDisable;

    private String userAccount;

    private String userSex;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserIdcard(String userIdcard) 
    {
        this.userIdcard = userIdcard;
    }

    public String getUserIdcard() 
    {
        return userIdcard;
    }
    public void setUserPassword(String userPassword) 
    {
        this.userPassword = userPassword;
    }

    public String getUserPassword() 
    {
        return userPassword;
    }
    public void setUserEmail(String userEmail) 
    {
        this.userEmail = userEmail;
    }

    public String getUserEmail() 
    {
        return userEmail;
    }
    public void setUserCardimage(String userCardimage) 
    {
        this.userCardimage = userCardimage;
    }

    public String getUserCardimage() 
    {
        return userCardimage;
    }
    public void setUserBackimage(String userBackimage) 
    {
        this.userBackimage = userBackimage;
    }

    public String getUserBackimage() 
    {
        return userBackimage;
    }
    public void setUserBirth(Date userBirth) 
    {
        this.userBirth = userBirth;
    }

    public Date getUserBirth() 
    {
        return userBirth;
    }
    public void setUserTel(String userTel) 
    {
        this.userTel = userTel;
    }

    public String getUserTel() 
    {
        return userTel;
    }
    public void setUserCitycode(String userCitycode) 
    {
        this.userCitycode = userCitycode;
    }

    public String getUserCitycode() 
    {
        return userCitycode;
    }
    public void setUserCityname(String userCityname) 
    {
        this.userCityname = userCityname;
    }

    public String getUserCityname() 
    {
        return userCityname;
    }
    public void setUserProvincecode(String userProvincecode) 
    {
        this.userProvincecode = userProvincecode;
    }

    public String getUserProvincecode() 
    {
        return userProvincecode;
    }
    public void setUserProvincename(String userProvincename) 
    {
        this.userProvincename = userProvincename;
    }

    public String getUserProvincename() 
    {
        return userProvincename;
    }
    public void setUserAddress(String userAddress) 
    {
        this.userAddress = userAddress;
    }

    public String getUserAddress() 
    {
        return userAddress;
    }
    public void setUserPostcode(String userPostcode) 
    {
        this.userPostcode = userPostcode;
    }

    public String getUserPostcode() 
    {
        return userPostcode;
    }
    public void setUserSecurity(String userSecurity) 
    {
        this.userSecurity = userSecurity;
    }

    public String getUserSecurity() 
    {
        return userSecurity;
    }
    public void setIsDisable(String isDisable) 
    {
        this.isDisable = isDisable;
    }

    public String getIsDisable() 
    {
        return isDisable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userPhone", getUserPhone())
            .append("userName", getUserName())
            .append("userIdcard", getUserIdcard())
            .append("userPassword", getUserPassword())
            .append("userEmail", getUserEmail())
            .append("userCardimage", getUserCardimage())
            .append("userBackimage", getUserBackimage())
            .append("userBirth", getUserBirth())
            .append("userTel", getUserTel())
            .append("userCitycode", getUserCitycode())
            .append("userCityname", getUserCityname())
            .append("userProvincecode", getUserProvincecode())
            .append("userProvincename", getUserProvincename())
            .append("userAddress", getUserAddress())
            .append("userPostcode", getUserPostcode())
            .append("userSecurity", getUserSecurity())
            .append("isDisable", getIsDisable())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }
}
